package org.nobject.common.fan.datagen;

public class NumberGen {
	

	/** 
	 * between
	 * @param n1
	 * @param n2
	 */
	public static int between(int n1,int n2){
		return ((Double)(n1+Math.random()*(n2+1-n1))).intValue();
	}
	
	public static void main(String[] args) {
		for (int i = 0; i < 1000; i++) {
			System.out.println(between(0, 100));
		}
	}
}
